package com.java.service;

import com.java.dao.BaseMapper;
import com.java.model.Result;
import com.java.model.User;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends BaseService<User> {

    /**
     * 登录
     * @return
     */
    Result login(User user, HttpServletRequest request);

    Result listRole(int userId);
}
